<%@ page language="java" import="java.util.*,java.net.URLDecoder" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String ctx = request.getContextPath();%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>密码找回</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<s:url value="/css/base.css" />" rev="stylesheet" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkEmail(){
	var email = document.getElementById("user.email");
	if("" == email.value){
        alert("请输入注册邮箱");
        return false;
	}
	document.getElementById("submitForm").submit(); 
}
</script>
</head>

<body class="bg1_index">

    <s:form id="submitForm" action="/user/user!findPassword" method="post" theme="simple">
    <div>
        <div style="width:420px;margin:auto;margin-top:150px" class="bg2">
		<div class="f_l"><img src="<%=ctx%>/img/business/ddd_061.jpg" border="0"></div>
            <div class="f_l bg2_index" style="width:400px; height:245px;margin:auto">
			<table width="96%"  align="right" border="0" cellspacing="0" style="height:26px; line-height:26px">
			<tr>
                <td colspan="2" class="txt_gray1 padding1 t_c">找&nbsp;&nbsp;回&nbsp;&nbsp;密&nbsp;&nbsp;码</td>
            </tr>
			<tr>
                <td colspan="2" class="txt_gray2" style=" border-bottom-style: dotted; border-bottom-color:#CCCCCC; border-bottom-width:1px">&nbsp;</td>
            </tr>
            <tr><td colspan="2" align="center"><font color="red">${json}</font></td></tr>
            <tr>
              <td width="42%" class="txt_gray3 padding1 t_r">请输入注册邮箱: </td>
              <td width="58%" class="padding1"><input type="text" id="user.email" name="user.email" value="${user.email }"/></td></tr>
			  <tr>
                <td colspan="2" class="txt_gray2" style=" border-bottom-style: dotted; border-bottom-color:#CCCCCC; border-bottom-width:1px">&nbsp;</td>
            </tr>
            <tr><td colspan="2">
              <div class="padding1">
              <div class="btn f_l margin2 t_c" ><a href="#" onclick="checkEmail();">确&nbsp;认</a></div>
			  <div class="btn f_l margin2 t_c"><a href="#" onclick="window.location.href='<%=ctx%>/index.jsp'">取&nbsp;消</a></div>
			  <div class="btn f_l margin2 t_c"><a href="#" onclick="window.location.href='<%=ctx%>/regist.jsp'">注&nbsp;册</a></div>
            </div>
            </td></tr>
 
            </table>
			</div>
			<div class="f_l"><img src="<%=ctx%>/img/business/ddd_06.jpg" border="0"></div>
        </div>
    </div>
    </s:form>
</body>

</html>
